package com.augurit.wf.client.remind.service;

import java.util.Map;

import org.springframework.transaction.annotation.Transactional;

import com.augurit.common.base.service.ICrudService;
import com.augurit.wf.client.remind.web.form.WfRemindForm;

public interface IWfRemindService extends ICrudService<WfRemindForm, Long> {
	/**
	 * 保存一条流程实例的催办记录（在保存前获取流程实例所处的流程结点）
	 * @param form
	 */
	void saveRemind(WfRemindForm form);
	
	/**
	 * 删除指定流程实例下的催办记录
	 * @param processInstanceId
	 */
	void deleteRemindsByProcessInstanceId(String processInstanceId);
	
	/**
	 * 获取提醒者
	 * @param processInstanceId
	 * @return
	 */
	public Map<String, String> getReminder(String processInstanceId);
}